home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / MacODBC / ODBC Tools / INCLUDE / sqlplat.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-28  |  900 b   |  40 lines  |  [TEXT/MPS ]

  1. #ifndef SQLPLAT_H
  2. #define SQLPLAT_H
  3.  
  4. #ifndef WIN2MAC_H
  5.     #include "win2mac.h"
  6. #endif
  7.  
  8. #define SQL_API
  9. #define SQL_PRE_API pascal
  10. #define RETCODE_SQL_API pascal RETCODE
  11.  
  12. #define TRANSAPI
  13. #define TRANSPREAPI pascal
  14. #define BOOL_TRANSAPI pascal BOOL
  15.  
  16. #define INSTAPI
  17. #define INSTPREAPI pascal
  18. #define BOOL_INSTAPI pascal BOOL
  19. #define PROFILE_CB WORD // type used to pass/return a bytecount in SQLGetPrivateProfileString
  20. #define PROFILE_CB_INSTAPI pascal PROFILE_CB
  21.  
  22. #define LDOUBLE_IS_DOUBLE 0
  23.  
  24. #define PUSH_POP_PACK2 0
  25.  
  26. #include <Quickdraw.h>
  27. typedef GrafPtr SQLHWND;
  28. typedef SQLHWND HWND;
  29.  
  30. #define SQL_OPT_TRACE_FILE_DEFAULT    "SQL.LOG"
  31.  
  32. #define SQL_PROFILE_STRING 1
  33. #define INSTALL_API 0
  34.  
  35. #define WORDPARAM UINT
  36.     // For ODBCINST.H:
  37.     // this fixes a compatability problem w/ 1.0 drivers, where buffer size 
  38.     // parameters were UINTs.  to stay compatable we force WORD params to UINT.
  39.  
  40. #endif // SQLPLAT_H